class CreateChapters < ActiveRecord::Migration
  def self.up
    create_table :chapters do |t|
      t.column :novel_id, :integer #foregin_key to novels
	  t.column :title, :string
	  t.column :suggest, :string
	  t.column :sequence , :integer
      t.timestamps
    end
  end

  def self.down
    drop_table :chapters
  end
end
